package com.hcc.base.domain.exception;

public abstract class BaseException extends Exception {

    private Integer code;


    public BaseException(String message) {
        super(message);
    }

    public BaseException(String message, Throwable cause) {
        super(message, cause);
    }

    public BaseException(Throwable cause) {
        super(cause);
    }

    public BaseException(Integer code) {
        this.code = code;
    }

    public BaseException(Integer code, String message) {
        super(message);
        this.code = code;
    }

    public BaseException(Integer code, String message, Throwable cause) {
        super(message, cause);
        this.code = code;
    }

    public BaseException(Integer code, Throwable cause) {
        super(cause);
        this.code  = code;
    }
}
